Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message UUIDs to OptiMaFlow messages and fix out-of-range error #125

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

ltoenning
Copy link
Member

No description provided.

std::uniform_int_distribution returns a number
from the closed interval of the lower and upper bound.
This sometimes lead to out-of-range access to the
possible_candidates vector.
Further, the code was simplified by always using the
std::uniform_int_distribution, even with only a single
element.
@ltoenning ltoenning added the cpps label Sep 26, 2023
@ltoenning ltoenning requested a review from janagoe September 26, 2023 15:20
@ltoenning ltoenning self-assigned this Sep 26, 2023
@ltoenning ltoenning merged commit ef8206b into iml130:main Sep 27, 2023
@ltoenning ltoenning deleted the optimaflow_msg_uuids branch September 27, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants